package com.example.pong;

import java.util.Observable;

import sheep.graphics.Color;
import android.graphics.Canvas;

public class DrawScore  implements java.util.Observer {
	
	/*
	 * View in MVC. MVC are only implemented in the Score functionality
	 */

	private static final DrawScore drawScore = new DrawScore();
	
	private DrawScore(){
	}
	
	public static DrawScore getInstance(){
		return drawScore;
	}
	
	public void draw(Canvas canvas, String text){
		canvas.drawText(text, 40, 40, Color.WHITE);
	}

	@Override
	public void update(Observable observable, Object data) {
		
	}

}
